﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="CustomerAdd.ascx.cs" Inherits="webUserControl_CustomerAdd" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>
<div class="code">
    <asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server">
    </asp:ScriptManagerProxy>
    <cc1:CalendarExtender ID="CalendarExtender1" runat="server" 
        TargetControlID="tbOutDate">
    </cc1:CalendarExtender>
    <cc1:CalendarExtender ID="CalendarExtender2" runat="server" 
        TargetControlID="tbInDate">
    </cc1:CalendarExtender>
<table style="width:80%; line-height:25px; font-size:12px;">
    <tr>
        <td style="text-align:right; padding-right:5px; width:120px;">客户级别：</td>
        <td style=" padding-left:5px;">
            <asp:DropDownList ID="ddlLevel" runat="server" AutoPostBack="True" 
                onselectedindexchanged="ddlLevel_SelectedIndexChanged">
                <asp:ListItem Value="0">市级</asp:ListItem>
                <asp:ListItem Value="1">省级</asp:ListItem>
            </asp:DropDownList>
                </td>
    </tr>
    <tr>
        <td style="text-align:right; padding-right:5px; width:120px;">地区：</td>
        <td style=" padding-left:5px;">
            <asp:DropDownList ID="ddlCityID" runat="server" AutoPostBack="True" 
                onselectedindexchanged="ddlCityID_SelectedIndexChanged">
            </asp:DropDownList>
            <asp:DropDownList ID="ddlDistrictID" runat="server">
            </asp:DropDownList>
                </td>
    </tr>

    <tr>
        <td style="text-align:right; padding-right:5px; width:120px;">客户名称：</td>
        <td style=" padding-left:5px;">
            <asp:TextBox ID="tbCustomerName" runat="server" ></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="tbCustomerName" ErrorMessage="*" ValidationGroup="A"></asp:RequiredFieldValidator>
                </td>
    </tr>
    <tr>
        <td style="text-align:right; padding-right:5px; width:120px;">密码：</td>
        <td style=" padding-left:5px;">
            <asp:TextBox ID="tbPassWD1" runat="server" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                ControlToValidate="tbPassWD1" ErrorMessage="*" ValidationGroup="A"></asp:RequiredFieldValidator>
                </td>
    </tr>
    <tr>
        <td style="text-align:right; padding-right:5px; width:120px;">密码校验：</td>
        <td style=" padding-left:5px;">
            <asp:TextBox ID="tbPassWD2" runat="server" TextMode="Password"></asp:TextBox>
                <asp:CompareValidator ID="CompareValidator1" runat="server" 
                ControlToCompare="tbPassWD1" ControlToValidate="tbPassWD2" ErrorMessage="密码不一致" 
                ValueToCompare="A"></asp:CompareValidator>
                </td>
    </tr>
    
    
    <tr>
        <td style="text-align:right; padding-right:5px; width:120px;">地址：</td>
        <td style=" padding-left:5px;">
            <asp:TextBox ID="tbAddress" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                ControlToValidate="tbAddress" ErrorMessage="*" ValidationGroup="A"></asp:RequiredFieldValidator>
                </td>
    </tr>
        <tr>
        <td style="text-align:right; padding-right:5px; width:120px;">电话：</td>
        <td style=" padding-left:5px;">
            <asp:TextBox ID="tbTelPhone" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                ControlToValidate="tbTelPhone" ErrorMessage="*" ValidationGroup="A"></asp:RequiredFieldValidator>
                </td>
    </tr>
        <tr>
        <td style="text-align:right; padding-right:5px; width:120px;">联络人：</td>
        <td style=" padding-left:5px;">
            <asp:TextBox ID="tbLinkMan" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                ControlToValidate="tbLinkMan" ErrorMessage="*" ValidationGroup="A"></asp:RequiredFieldValidator>
                </td>
    </tr>
        <tr>
        <td style="text-align:right; padding-right:5px; width:120px;">备注：</td>
        <td style=" padding-left:5px;">
            <asp:TextBox ID="tbYeWu" runat="server" Width="403px" Columns="10" Rows="6" 
                TextMode="MultiLine"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                ControlToValidate="tbYeWu" ErrorMessage="*" ValidationGroup="A"></asp:RequiredFieldValidator>
                </td>
    </tr>
    <asp:Panel ID="Panel2" runat="server">
   
        <tr>
        <td style="text-align:right; padding-right:5px; width:120px;">总需点位数：</td>
        <td style=" padding-left:5px;">
            <asp:TextBox ID="tbAllPoint" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" 
                ControlToValidate="tbAllPoint" ErrorMessage="*" ValidationGroup="A"></asp:RequiredFieldValidator>
                </td>
    </tr>

        <tr>
        <td style="text-align:right; padding-right:5px; width:120px;">总金额：</td>
        <td style=" padding-left:5px;">
            <asp:TextBox ID="tbAllMoney" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" 
                ControlToValidate="tbAllMoney" ErrorMessage="*" ValidationGroup="A"></asp:RequiredFieldValidator>
                </td>
    </tr>

        <tr>
        <td style="text-align:right; padding-right:5px; width:120px;">截至日期：</td>
        <td style=" padding-left:5px;">
            <asp:TextBox ID="tbInDate" runat="server"></asp:TextBox>
            至<asp:TextBox ID="tbOutDate" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" 
                ControlToValidate="tbOutDate" ErrorMessage="*" ValidationGroup="A"></asp:RequiredFieldValidator>
                </td>
    </tr>
 </asp:Panel>
        <tr>
        <td style="text-align:right; padding-right:5px;">&nbsp;</td>
        <td style=" padding-left:5px;">
            <asp:Button ID="btnSub" runat="server" onclick="btnSub_Click" Text="提交" 
                ValidationGroup="A" />
                <asp:Literal ID="Literal1" runat="server"></asp:Literal>
                </td>
    </tr>
</table>
</div>

            


